Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2478 - Add a prompt pop-up for 'delete-account' button #2481

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

SebinSong
Copy link
Collaborator

closes #2478

@SebinSong SebinSong self-assigned this Dec 23, 2024
Copy link

cypress bot commented Dec 24, 2024

group-income    Run #3612

Run Properties:  status check passed Passed #3612  •  git commit dca6308708 ℹ️: Merge b39ff3123da00a74cdcf88b1fc02d7296816228a into aaaae1f4a2e3f4bc42871d94ce08...
Project group-income
Branch Review sebin/task/#2478-disable-delete-account
Run status status check passed Passed #3612
Run duration 10m 31s
Commit git commit dca6308708 ℹ️: Merge b39ff3123da00a74cdcf88b1fc02d7296816228a into aaaae1f4a2e3f4bc42871d94ce08...
Committer Sebin Song
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 10
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 112
View all changes introduced in this branch ↗︎

@@ -371,7 +371,8 @@ describe('Contributions', () => {

it('user1 edits the non monetary contribution', () => {
cy.getByDT('buttonEditNonMonetaryContribution').click()
cy.getByDT('inputNonMonetaryContribution').type('{selectall}{del}French classes{enter}')
cy.getByDT('inputNonMonetaryContribution').clear()
cy.getByDT('inputNonMonetaryContribution').type('French classes{enter}')
Copy link
Collaborator Author

@SebinSong SebinSong Dec 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fix for a heisen-bug I've seen a few times before (e.g. here). type({selectall}{del}) is converted back to clear() here. Also, Cypress doc warns that it's unsafe to chain something onto clear(). So breaking it into two lines here.

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@taoeffect taoeffect merged commit b6dc54d into master Dec 24, 2024
4 checks passed
@taoeffect taoeffect deleted the sebin/task/#2478-disable-delete-account branch December 24, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable deleting account
2 participants